package com.kcwl.carrier.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kcwl.ddd.domain.repository.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Description 司机收藏线路
 * @Author kcwl
 * @Date 2023/01/07 09:51
 */
@Data
@TableName("regular_routes_info")
public class RegularRoutesInfoPO extends BasePO<RegularRoutesInfoPO> {

    @ApiModelProperty(value = "出发地省")
    @TableField("start_province")
    private String startProvince;

    @ApiModelProperty(value = "出发地省编码")
    @TableField("start_province_code")
    private String startProvinceCode;

    @ApiModelProperty(value = "出发地市")
    @TableField("start_city")
    private String startCity;

    @ApiModelProperty(value = "出发地市编码")
    @TableField("start_city_code")
    private String startCityCode;

    @ApiModelProperty(value = "出发地区")
    @TableField("start_county")
    private String startCounty;

    @ApiModelProperty(value = "出发地区编码")
    @TableField("start_county_code")
    private String startCountyCode;


    @ApiModelProperty(value = "目的地省")
    @TableField("target_province")
    private String targetProvince;

    @ApiModelProperty(value = "目的地省编码")
    @TableField("target_province_code")
    private String targetProvinceCode;

    @ApiModelProperty(value = "目的地市")
    @TableField("target_city")
    private String targetCity;

    @ApiModelProperty(value = "目的地市编码")
    @TableField("target_city_code")
    private String targetCityCode;

    @ApiModelProperty(value = "目的地区")
    @TableField("target_county")
    private String targetCounty;

    @ApiModelProperty(value = "目的地区编码")
    @TableField("target_county_code")
    private String targetCountyCode;

    @ApiModelProperty(value = "收藏人id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "版本 0：2.0  1: 6.0")
    @TableField("data_source")
    private Integer dataSource;
}
